Platform Explorer / Nuxeo Platform 2021.24

Component org.nuxeo.ecm.platform.action.widgets

Documentation

@since 5.8, global widgets used to render actions/tabs in default UI.

Resolution Order

649
The resolution order represents the order in which this component has been resolved by the Nuxeo Runtime framework.
You can influence this order by adding "require" tags in your component declaration, to make sure it is resolved after another component.

Contributions

XML Source

<component name="org.nuxeo.ecm.platform.action.widgets">

  <documentation>
    @since 5.8, global widgets used to render actions/tabs in
    default UI.
  </documentation>

  <extension target="org.nuxeo.ecm.platform.forms.layout.WebLayoutManager"
    point="widgets">

    <widget name="documentTabs" type="tabs">
      <properties mode="view">
        <property name="actionsDisplay">links</property>
        <property name="addForm">true</property>
        <property name="useAjaxForm">#{useAjaxTabs}</property>
        <property name="actions">#{tabsActionsList}</property>
        <property name="currentTabAction">#{webActions.currentTabAction}</property>
      </properties>
    </widget>

    <widget name="documentSubTabs" type="tabs">
      <properties mode="view">
        <property name="actionsDisplay">links</property>
        <property name="addForm">true</property>
        <property name="useAjaxForm">#{useAjaxTabs}</property>
        <property name="actions">#{subTabsActionsList}</property>
        <property name="currentTabAction">#{webActions.currentSubTabAction}</property>
        <property name="styleClass">subtabsBar</property>
      </properties>
    </widget>

    <widget name="documentActionsUpperButtons" type="documentActionsWithForms">
      <properties mode="view">
        <property name="category">DOCUMENT_UPPER_ACTION</property>
        <property name="actionsDisplay">icons</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="maxActionsNumber">5</property>
        <property name="styleClass">globalActions contextActions</property>
        <property name="actionStyleClass">button</property>
      </properties>
    </widget>

    <widget name="documentActionSubviewUpperList" type="documentActionsWithForms">
      <properties mode="view">
        <property name="category">
          SUBVIEW_UPPER_LIST, SUBVIEW_UPPER_LIST_HREF
        </property>
        <property name="actionsDisplay">links</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="maxActionsNumber">5</property>
        <property name="styleClass">action_bar</property>
        <property name="actionStyleClass">button</property>
      </properties>
    </widget>

    <widget name="headerSearch" type="documentActionsWithForms">
      <properties mode="view">
        <property name="category">SEARCH_ACTIONS</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="styleClass">userSearchBlock</property>
        <property name="actionStyleClass">advancedSearchLink</property>
      </properties>
    </widget>

    <widget name="mainTabs" type="documentActionsWithForms">
      <properties mode="view">
        <property name="category">MAIN_TABS</property>
        <property name="overallDisplay">menu</property>
        <property name="styleClass">mainTabs</property>
        <property name="currentAction">
          #{webActions.getCurrentTabAction('MAIN_TABS')}
        </property>
      </properties>
    </widget>

    <widget name="userMenuActions" type="documentActionsWithForms">
      <labels>
        <label mode="any">#{messages['label.loggedAsUser']}</label>
      </labels>
      <properties mode="view">
        <property name="category">USER_MENU_ACTIONS</property>
        <property name="actionsDisplay">links</property>
        <property name="overallDisplay">rollover_menu</property>
        <property name="styleClass">userMenuActions</property>
        <property name="labelStyleClass">#{currentUser.name}</property>
      </properties>
    </widget>

    <widget name="userActions" type="documentActionsWithForms">
      <properties mode="view">
        <property name="category">
          USER_SERVICES, USER_SERVICES_BOTTOM
        </property>
        <property name="actionsDisplay">links</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="styleClass">userActions</property>
      </properties>
    </widget>

    <widget name="footerLinks" type="documentActionsWithForms">
      <properties mode="view">
        <property name="category">FOOTER</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="separator"> | </property>
        <property name="styleClass">nuxLinks</property>
      </properties>
    </widget>

    <widget name="documentEditButtons" type="documentActions">
      <properties mode="view">
        <property name="actionsDisplay">buttons</property>
        <property name="category">EDIT_DOCUMENT_FORM</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="actionStyleClass">button</property>
      </properties>
    </widget>

    <widget name="documentCreateButtons" type="documentActions">
      <properties mode="view">
        <property name="actionsDisplay">buttons</property>
        <property name="category">CREATE_DOCUMENT_FORM</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="actionStyleClass">button</property>
      </properties>
    </widget>

    <widget name="breadcrumbActions" type="documentActionsWithForms">
      <properties mode="view">
        <property name="category">LIVEEDIT_CREATE_ACTIONS,BREADCRUMB_ACTIONS</property>
        <property name="actionsDisplay">icons</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="styleClass">action_bar</property>
        <property name="actionStyleClass">button</property>
      </properties>
    </widget>

    <widget name="importActions" type="documentActionsWithForms">
      <properties mode="view">
        <property name="category">IMPORT_ACTIONS</property>
        <property name="actionsDisplay">buttons</property>
        <property name="overallDisplay">horizontal_block</property>
        <property name="styleClass">action_bar</property>
        <property name="actionStyleClass">importButton</property>
      </properties>
    </widget>

    <widget name="treeExplorerTabs" type="documentTabsWithForms">
      <properties mode="view">
        <property name="category">TREE_EXPLORER</property>
        <property name="actionsDisplay">icons</property>
        <property name="hideSingleTab">false</property>
        <property name="useAjaxForm">true</property>
      </properties>
    </widget>

    <widget name="blobActions" type="actions">
      <properties mode="view">
        <property name="actionsDisplay">icons</property>
        <property name="overallDisplay">horizontal_block</property>
      </properties>
    </widget>

  </extension>

</component>